package tsing.javase.config;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import tsing.javase.common.bean.LoginBody;

import java.util.UUID;

/**
 * @Author Tsing/吴清平
 * @Date 2022/10/18 17:42
 * @Version 1.0
 */
@Configuration
public class BeanLoadDemo {


    @Bean
    public LoginBody getLodinBody(){
        return new LoginBody().builder().uuid(UUID.randomUUID().toString()).username("wuqp").build();
    }
}
